package com.dao;

import com.model.Order;
import com.model.OrderDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDetailDAO {
    int deleteByPrimaryKey(Integer orderinfoId);

    int insert(OrderDetail record);

    int insertSelective(OrderDetail record);

    OrderDetail selectByPrimaryKey(Integer orderinfoId);

    int updateByPrimaryKeySelective(OrderDetail record);

    int updateByPrimaryKey(OrderDetail record);


    List<OrderDetail> selectByOrderId(Integer orderId);
}